public class DeathBringerMoveState : DeathBringerGroundState
{
    public DeathBringerMoveState(Enemy enemy, string animName) : base(enemy, animName) { }

    public override void Update()
    {
        base.Update();
        Enemy.SetVelocity(Enemy.FacingDirection * Enemy.moveSpeed, Rb.velocity.y);
        if (Enemy.IsWallDetected() || !Enemy.IsGroundDetected())
        {
            Enemy.Flip();
            StateMachine.ChangeTo(Enemy.Idle);
        }
    }
}
